package com.example.mobile2121606110syc0505;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class RegisterActivity2 extends AppCompatActivity {

    private TextView tvMainRegisterTitle;
    private EditText edtTxtMainRegisterUserName;
    private EditText edtTxtMainRegisterPassword;
    private EditText edtTxtMainRegisterPassword2;
    private EditText tvMainRegisterPhone;
    private Button btnMainRegisterRegister;
    private Button btnMainRegisterExit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register2);
        initView();
        btnMainRegisterRegister.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v){
                finish();

            }
        });
    }

    private void initView() {
        tvMainRegisterTitle = (TextView) findViewById(R.id.tvMainRegisterTitle);
        edtTxtMainRegisterUserName = (EditText) findViewById(R.id.edtTxtMainRegisterUserName);
        edtTxtMainRegisterPassword = (EditText) findViewById(R.id.edtTxtMainRegisterPassword);
        edtTxtMainRegisterPassword2 = (EditText) findViewById(R.id.edtTxtMainRegisterPassword2);
        tvMainRegisterPhone = (EditText) findViewById(R.id.tvMainRegisterPhone);
        btnMainRegisterRegister = (Button) findViewById(R.id.btnMainRegisterRegister);
        btnMainRegisterExit = (Button) findViewById(R.id.btnMainRegisterExit);
    }
}